﻿package com.dykj.apps.web.sysmanager.service;

import java.util.List;
import com.dykj.platform.framework.exception.ApplicationException;

public interface ISysAclBS {
	/**
	 *  取得全部角色
	 * @param parent
	 * @return
	 * @throws DatabaseException
	 */
	public List findAllRole(String map) throws ApplicationException;
	/**
	 *  取得功能列表的JSON格式
	 * @param parent
	 * @return
	 * @throws DatabaseException
	 */
	public String findFunctionJSON(String roleid,String croleid) throws ApplicationException;
	
	public int saveFunctionAcl(String roleid,String[]functionid)throws ApplicationException;
}
